.class Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;
.super Ljava/lang/Object;
.source "FileExplorerActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Ljava/lang/String;Ljava/lang/String;Z)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/fs/f;

.field final synthetic b:Ljava/lang/String;

.field final synthetic c:Z

.field final synthetic d:Ljava/lang/String;

.field final synthetic e:Lcom/estrongs/android/pop/view/FileExplorerActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;Lcom/estrongs/fs/f;Ljava/lang/String;ZLjava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iput-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->a:Lcom/estrongs/fs/f;

    iput-object p3, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->b:Ljava/lang/String;

    iput-boolean p4, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->c:Z

    iput-object p5, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->d:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    const v0, 0x7f110770

    .line 1
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->a:Lcom/estrongs/fs/f;

    iget-object v2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/estrongs/fs/f;->c(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v3, 0x7f11076f

    invoke-virtual {v2, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/esclasses/ESActivity;->b(Ljava/lang/String;)V

    return-void

    .line 3
    :cond_0
    new-instance v1, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0$a;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;)V

    .line 4
    new-instance v2, Lcom/estrongs/android/pop/e;

    iget-object v3, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v2, v3}, Lcom/estrongs/android/pop/e;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1, v2}, Les/s80;->a(Les/v80;)V

    const/4 v2, 0x0

    .line 5
    invoke-virtual {v1, v2}, Les/s80;->b(Z)V

    .line 6
    invoke-virtual {v1}, Les/s80;->l()Les/u80;

    move-result-object v1

    iget v1, v1, Les/u80;->a:I

    const/4 v3, 0x1

    if-nez v1, :cond_1

    const/4 v1, 0x1

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    :goto_0
    if-eqz v1, :cond_3

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v4, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v5, 0x7f110771

    .line 8
    invoke-virtual {v4, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    new-array v3, v3, [Ljava/lang/Object;

    iget-object v5, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->d:Ljava/lang/String;

    aput-object v5, v3, v2

    .line 9
    invoke-static {v4, v3}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/esclasses/ESActivity;->b(Ljava/lang/String;)V

    .line 10
    iget-boolean v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->c:Z

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->b:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->c1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 11
    invoke-static {}, Lcom/estrongs/fs/impl/local/g;->a()V

    .line 12
    :cond_2
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->b:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Les/p10;->c(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v1

    if-eqz v1, :cond_4

    const-string v2, "child_count"

    .line 13
    invoke-interface {v1, v2}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_4

    .line 14
    invoke-static {v1}, Lcom/estrongs/android/pop/utils/p;->b(Lcom/estrongs/fs/g;)I

    goto :goto_1

    .line 15
    :cond_3
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v2, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/esclasses/ESActivity;->b(Ljava/lang/String;)V

    .line 16
    invoke-static {}, Lcom/estrongs/android/pop/k;->b()I

    move-result v1

    const/16 v2, 0x12

    if-lt v1, v2, :cond_4

    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->b:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->c1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 17
    iget-object v1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    new-instance v2, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0$b;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0$b;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;)V

    invoke-virtual {v1, v2}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V
    :try_end_0
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v1

    .line 18
    iget-object v2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$v0;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v4, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, ":"

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 19
    invoke-virtual {v1}, Lcom/estrongs/android/exception/AbstractException;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 20
    invoke-virtual {v2, v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->b(Ljava/lang/String;)V

    :cond_4
    :goto_1
    return-void
.end method
